﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MobileBg.aspx.cs" Inherits="_4._3.ASP.NET_Data_Binding.MobileBg" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:DropDownList ID= "producers" runat="server" AutoPostBack="True" 
            onselectedindexchanged="producers_SelectedIndexChanged">
        </asp:DropDownList>
        <asp:DropDownList ID="models" runat="server" AutoPostBack="true" 
            onselectedindexchanged="models_SelectedIndexChanged"></asp:DropDownList>

        <asp:DataList ID ="extras" runat="server" RepeatColumns="4">
            <ItemTemplate>
               <asp:Label AssociatedControlID="hasExtra" runat="server" ID="extraName" Text= '<%# Eval("Name") %>'></asp:Label> <asp:CheckBox ID="hasExtra" runat="server"/>
            </ItemTemplate>
        </asp:DataList>
  
        <asp:RadioButtonList runat="server" ID="engineProperties" ></asp:RadioButtonList>

        <asp:Button runat="server" ID="submitButton" Text="Submit" onclick="submit_Click" />
        <asp:Panel runat="server" ID="submitedInfo" Mode="Encode" ></asp:Panel>
    </div>
    </form>
</body>
</html>
